<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile"
        xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	contentType="text/html"
    renderKitId="PRIMEFACES_MOBILE">

    <pm:page title="RescueU">

        <!-- New Contact -->
        <pm:view id="new" swatch="d">
            <h:form id="newContactForm" >
                <pm:header title="Register with RescueU(tm)" swatch="b" >
                    <f:facet name="left"><p:button value="Cancel" iconPos="none" onclick="PrimeFaces.back()"/></f:facet>
                    <f:facet name="right"><p:commandButton value="Submit" action="#{registrationView.submitRegistration}" iconPos="none" /></f:facet>
                </pm:header>

                <pm:content>  
                    <p:outputPanel id="content">
                        <p:inputText id="policyHolder" value="#{registrationView.registration.policyHolder}" label="Policy Holder:" required="true"/>

                        <p:inputText id="policyNumber" value="#{registrationView.registration.policyNumber}" label="Policy Number:" required="true"/>
                        
                    </p:outputPanel>                                                           
                </pm:content>                                                
            </h:form>
        </pm:view>

    </pm:page>

</f:view>